<%
String strs = (String) request.getAttribute("strs");
String name = (String) request.getAttribute("name");
String title = "Google search";
String description="Google search,seek information from the search engine provided by google";
String keyword = "google,google search,show site info";
%>

<jsp:include page="layout/header.jsp">
	<jsp:param name="title" value="<%=title %>"/>
	<jsp:param name="description" value="<%=description %>"/>
	<jsp:param name="keywords" value="<%=keyword %>"/>
</jsp:include>
        
        	
<div class="bd">
		<div class="l">
			<div class="rib">
				<h1>Google custom search</h1>
			</div>
			<div class="cont">
				<div class="network">
	                           	<form action="/gsearch" id="cse-main-search-box">
	<input type="hidden" name="cx"
		value="003091030381474148674:clavmgieb_a" /> <input type="hidden"
		name="cof" value="FORID:10" /> <input type="hidden" name="ie"
		value="UTF-8" /> <input id="cse-main-search-text" type="text"
		name="q" autocomplete="on" class="input_search" style="width:450px;"/> <input type="submit" name="sa"
		value="Search" />
</form>
<script type="text/javascript" src="//www.google.com/jsapi"></script>
<script type="text/javascript">
	google.load('search', '1');
	google.setOnLoadCallback(function() {
		google.search.CustomSearchControl.attachAutoCompletionWithOptions(
				'013315504628135767172:d6shbtxu-uo+qptype:1', document
						.getElementById('cse-main-search-text'),
				'cse-main-search-box', {
					'styleOptions' : {
						'widthOffset' : 150
					}
				});
	});
</script>

<div id="cse-main-search-results"></div>
<script type="text/javascript">
	var googleSearchIframeName = "cse-main-search-results";
	var googleSearchFormName = "cse-main-search-box";
	var googleSearchFrameWidth = 728;
	var googleSearchDomain = "www.google.com";
	var googleSearchPath = "/cse";
</script>
<script type="text/javascript"
	src="http://www.google.com/afsonline/show_afs_search.js"></script>
							</div>
			</div>
		</div>
		<div class="r">
			<%@ include file='/element/search.jsp'%>
			
			<div class="bol">
				<jsp:include page="adv/adv2.jsp"></jsp:include> 
			</div>
			<div class="bol">
				<jsp:include page="adv/adv2.jsp"></jsp:include> 
			</div>
		</div>
	</div>
        	
        	
<style type="text/css">
	#cse-main-search-results iframe {
    height: 1400px;
    width: 620px;
}
.gs-webResult{
width: auto;
}
</style>
 <jsp:include page="layout/footer.jsp"></jsp:include>           